/* eslint-disable react/jsx-pascal-case */

// import { useState } from 'react';
import { useState, useEffect } from 'react';
import Home from './components/home';
import Open from './components/open';
import './screen.scss';





const Screen = () => {
  const [open,setOpen] = useState(true)
    
  return (
    <div className='screen'> 
        <Open open={open} setOpen={setOpen}/>
        {!open&&<Home/>}
    </div>
  )
}

export default Screen;
